package cn.iocoder.yudao.module.handguard.controller.app.applicationrecord.vo;

import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 用户申请贷款表（申请通过创建订单） Excel 导出 Request VO，参数和 ApplicationRecordPageReqVO 是一致的")
@Data
public class ApplicationRecordExportReqVO {

    @Schema(description = "用户ID", example = "559")
    private Long userId;

    @Schema(description = "申请的产品id", example = "26934")
    private Integer productId;

    @Schema(description = "流程：1完善资料，2下放额度，3申请贷款，4业务员处理，5权证处理")
    private String flowN;

    @Schema(description = "下放额度时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] issuanceTime;

    @Schema(description = "下放额度")
    private BigDecimal amount;

    @Schema(description = "实际放款金额")
    private BigDecimal practicalAmount;

    @Schema(description = "申请中，1：申请中，2已完成")
    private String applyState;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
